package org.scheduler4j;

import java.util.Calendar;

public class InvalidWeekException extends Scheduler4JException {

	private static final long serialVersionUID = 1L;

	private static final String ERROR_MESSAGE = "week should be "
			+ Calendar.SUNDAY + " to " + Calendar.SATURDAY
			+ " and there is no more than 52 weeks per year";

	public InvalidWeekException() {
		super(ERROR_MESSAGE);
	}

	public InvalidWeekException(String message, Throwable cause) {
		super(ERROR_MESSAGE + message, cause);
	}

	public InvalidWeekException(String message) {
		super(ERROR_MESSAGE + message);
	}

	public InvalidWeekException(Throwable cause) {
		super(ERROR_MESSAGE, cause);
	}

}
